package com.nuoniu.sibanyun.service.crm;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.common.result.HttpResult;
import com.nuoniu.sibanyun.entity.crm.WithdrawalRecord;

/**
 * <p>
 * 提现记录 服务类
 * </p>
 *
 * @author baiqiang
 * @since 2020-07-28
 */
public interface IWithdrawalRecordService extends IService<WithdrawalRecord> {

    /**
     * 用户提现
     * @author 小啊刚
     * @date 2020-07-29
     */
    HttpResult withdrawalCommission(Integer amount);

    /**
     * 获取提现记录
     * @author 小啊刚
     * @date 2020-07-30
     */
    Page<WithdrawalRecord> getWithdrawalRecord(Page page, WithdrawalRecord record);
}
